/*
 * @Author: C.
 * @Date: 2023-04-11 09:52:26
 */
import { createApiModule } from '/~/utils/help/createApiModule';
import { defHttp } from '/@/utils/http/axios';

export const apiModuleName = 'currency';
export default createApiModule(apiModuleName);
export const addCurrency = (params: any) => {
  return defHttp.post({ url: '/currency/save', params });
};
export const get_all_currency = (params: any) => {
  return defHttp.get({ url: '/currency/get_all', params });
};
